$OpenBSD: patch-daily_sh,v 1.2 2015/06/25 20:47:27 sthen Exp $
--- daily.sh.orig	Thu Jun 25 20:56:52 2015
+++ daily.sh	Thu Jun 25 20:56:55 2015
@@ -1,15 +1,15 @@
-#!/usr/local/bin/bash
+#!/bin/ksh
 
 cd $(dirname $0) || exit 1
 
-if [ $(php daily.php -f update) -eq 1 ]; then 
+if [ $(%PHP% daily.php -f update) -eq 1 ]; then 
   git pull --quiet
-  php includes/sql-schema/update.php
+  %PHP% includes/sql-schema/update.php
 fi
 
-php daily.php -f syslog
-php daily.php -f eventlog
-php daily.php -f authlog
-php daily.php -f perf_times 
-php daily.php -f callback
+%PHP% daily.php -f syslog
+%PHP% daily.php -f eventlog
+%PHP% daily.php -f authlog
+%PHP% daily.php -f perf_times 
+%PHP% daily.php -f callback
 php daily.php -f device_perf
